export default {
	app: {
		name: "xueliantong",
		url: "http://localhost:8060",
		frontendUrl: "http://localhost:8050",
		secret: "fdc836a5a0e63c0439927867a3975564",
		language: "english",
		publicDir: "assets",
	},
	auth: {
		userTokenSecret: "1b5d483A-1ax%W@2621aYY6Q!!0-cd32a26dc66e2c993c0b",
		apiTokenSecret: "eca4f178$Xax%W!eabd79B#Q-!0791eb51e16653d9507e98",
		jwtDuration: 120, //in minutes
		otpDuration: 5, //in minutes
	},
	database: {
		name: "xuelian_db",
		type: "mysql",
		host: "localhost",
		username: "root",
		password: "123456",
		port: "",
		charset: "utf8",
		recordlimit: 10,
		ordertype: "DESC"
	},
	mail: {
		username: "",
		password: "",
		senderemail: "",
		sendername: "",
		host: "",
		secure: true,
		port: ""
	},
	upload: {
		tempDir: "uploads/temp/",
		importdata: {
			filenameType: "timestamp",
			extensions: "csv",
			limit: "10",
			maxFileSize: "3",
			returnFullpath: "false",
			filenamePrefix: "",
			uploadDir: "uploads/files/"
		},
		contract_file: {  // 新增合约文件上传配置
			filenameType: "original",
			extensions: "sol",  // 只允许.sol文件
			limit: "1",  // 限制上传1个文件
			maxFileSize: "5",  // 最大5MB
			returnFullpath: true,
			filenamePrefix: "",
			uploadDir: "uploads/contracts/"  // 合约文件存储目录
		},
		avatar_url: {
			filenameType: "random",
			extensions: "jpg,png,gif,jpeg",
			limit: "1",
			maxFileSize: "3",
			returnFullpath: false,
			filenamePrefix: "",
			uploadDir: "uploads/files",
			imageResize: [
				{ name: "small", width: 100, height: 100, mode: "cover" },
				{ name: "medium", width: 480, height: 480, mode: "inside" },
				{ name: "large", width: 1024, height: 760, mode: "inside" }
			],

		},

	},
	s3: {
		secretAccessKey: "",
		accessKeyId: "",
		region: "us-west-2",
		bucket: "",
	},

	locales: {
		'english': 'English',
	},
	eth: {
		privateKey: "0xf1e9f7237cc74d87f4e3262c1cb708b9472585a233fe5bc92996b61131b2419e"
	},
	resend: {
		EMAIL_HOST: "email@tmdog114514.icu",
		RESEND_API_KEY: "re_UsirvT5i_EoNhiyLfA4nvSND2vmRqqy5A"
	}

}